package factory.simplefactory;

/**
 * @auther: Steven
 * @created： 2018/2/9 17:52
 * Description：货车
 */
public class Trunk implements IVehicle {
    Trunk() {
        System.out.println("货车，只要不限高，想装多少装多少！");
    }

    Trunk(String brand) {
        System.out.println(brand + "牌货车，只要不限高，想装多少装多少！");
    }

    public void purposeFeature() {
        System.out.println("我只拉货，不接客。");
    }
}
